package com.study.DI.service.impl;


import com.study.DI.dao.impl.BookDaoImpl;
import com.study.DI.service.IBookservice;

/**
 * @author chenhs
 * @date 2019/8/31
 */
public class BookServiceImpl implements IBookservice {
	private BookDaoImpl bookDao;
	
	@Override
	public void addBook() {
		System.out.println("调用添加书的servcie");
		this.bookDao.addBook();
	}
	
	public void setBookDao(BookDaoImpl bookDao) {
		this.bookDao = bookDao;
	}
	
}
